package com.xyh.flowershop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyh.flowershop.domain.User;
import com.xyh.flowershop.vo.req.user.UserReqVo;
import com.xyh.flowershop.vo.req.user.WxUserReqVo;
import com.xyh.flowershop.vo.resp.common.ResultRespVo;
import com.xyh.flowershop.vo.resp.user.UserRespVo;
import com.xyh.flowershop.vo.resp.user.WxUserRespVo;

/**
 * @author 小约翰可汗
 * @className UserService
 * @createTime 2024/4/1720:15
 */
public interface UserService extends IService<User> {

    WxUserRespVo findUser(String code,String userId);

    Boolean updateSelf(WxUserReqVo vo);

    Boolean checkUserIsExist(String param);

    IPage<UserRespVo> findPageUsers(UserReqVo vo);

    UserRespVo findUserById(String id);

    ResultRespVo deleteUserInfo(String id, String operId);
}
